package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class PropertyAccount extends BaseEntity {
    @Excel(name = "序号")
    private String num;//序号

    @Excel(name = "台账ID")
    private String accountId;//台账ID

    @Excel(name = "文件内容")
    private String fileContent;//文件内容

    @Excel(name = "类型")
    private String type;//类型

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期yyyy-MM-dd", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;//日期

    @Excel(name = "附件")
    private String attachment;//附件

    @Excel(name = "备注")
    private String comment;//备注

    private Integer fileCount;

    private Date beginDate;
    private Date endDate;

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getFileCount() {
        return fileCount;
    }

    public void setFileCount(Integer fileCount) {
        this.fileCount = fileCount;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getFileContent() {
        return fileContent;
    }

    public void setFileContent(String fileContent) {
        this.fileContent = fileContent;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "PropertyAccount{" +
                "num='" + num + '\'' +
                ", accountId='" + accountId + '\'' +
                ", fileContent='" + fileContent + '\'' +
                ", type='" + type + '\'' +
                ", date=" + date +
                ", attachment='" + attachment + '\'' +
                ", comment='" + comment + '\'' +
                ", fileCount=" + fileCount +
                ", beginDate=" + beginDate +
                ", endDate=" + endDate +
                '}';
    }
}
